CommonsBooking\Plugin B

Total Complexity 89
Dependencies 35
Dependents 21
Total lines 927
Lines of code 562
Logical lines of code 235
Comment lines 248
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
filterAdminBodyClass()
A
53 10 22
setParentFile()
S
53 7 24
registerScriptsAndStyles()
S
37 2 96
addMenuPages()
S
44 4 50
getTheContent()
S
62 6 11
addRoleCaps()
S
50 4 29
addCustomUserRoles()
S
59 4 15
savePostActions()
S
62 4 11
registerCustomPostTypes()
S
62 4 11
initRoutes()
S
53 3 24
renderError()
S
56 3 19
handleBookingForms()
S
57 3 17
init()
S
45 1 39
getRoleCapMapping()
S
56 2 21
registerItemTaxonomy()
S
55 2 20
registerLocationTaxonomy()
S
55 2 19
AddImageSizes()
S
60 2 15
isPostCustomPostType()
S
64 3 10
commonsbooking_load_textdomain()
S
64 2 9
registerAdminOptions()
S
69 2 6
registerPostStates()
S
72 2 5
addCPTRoleCaps()
S
67 2 8
admin_init()
S
66 2 9
maybeEnableCB1UserFields()
S
70 2 6
registerUserWidget()
S
81 1 3
getCustomPostTypes()
S
64 1 10
initBookingcodes()
S
71 1 5
deactivation()
S
80 1 3
getCustomPostTypesLabels()
S
64 1 10
getCBManagerCustomPostTypes()
S
66 1 9
registerUserDataErasers()
S
67 1 7
registerUserDataExporters()
S
67 1 7
registerShortcodes()
S
79 1 3
saveOptionsActions()
S
79 1 3
activation()
S
72 1 6